package com.longxi.tianjintianbao.ui.activity.repair_publish;

import android.support.v7.widget.RecyclerView;

import com.longxi.tianjintianbao.R;
import com.longxi.tianjintianbao.ui.base.BaseActivity;
import com.longxi.tianjintianbao.ui.presenter.repair_publish.SelectAreaAtPresenter;
import com.longxi.tianjintianbao.ui.view.repair_publish.ISelectAreaAtView;

import butterknife.BindView;

public class SelectAreaActivity extends BaseActivity<ISelectAreaAtView, SelectAreaAtPresenter> implements ISelectAreaAtView {
    @BindView(R.id.rvContent)
    RecyclerView mRvContent;

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_select_area;
    }

    @Override
    public void initData() {
        super.initData();
        mPresenter.setBar();
        mPresenter.initAdapter();
        mPresenter.getArea("", "");
    }

    @Override
    public void initListener() {
        super.initListener();
    }

    @Override
    protected SelectAreaAtPresenter createPresenter() {
        return new SelectAreaAtPresenter(this);
    }

    @Override
    public RecyclerView getRvContent() {
        return mRvContent;
    }


}
